package io.xxx.xbutler.sdk.request;

import com.alibaba.fastjson2.annotation.JSONField;
import io.xxx.xbutler.sdk.TanJingRequest;
import io.xxx.xbutler.sdk.response.RobotPullGroupAdoptResponse;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Map;

@Data
@Accessors(chain = true)
public class RobotPullGroupAdoptRequest implements TanJingRequest<RobotPullGroupAdoptResponse> {

    @JSONField(name = "vcRobotSerialNo")
    private String robotSerialNo;

    @JSONField(name = "vcSerialNo")
    private String serialNo;

    @Override
    public String path() {
        return "/scrm/ChatRoom/RobotPullGroupAdopt";
    }

    @Override
    public Map<String, Object> params() {
        return Map.of(
                "vcRobotSerialNo", robotSerialNo,
                "vcSerialNo", serialNo
        );
    }

    @Override
    public Class<RobotPullGroupAdoptResponse> responseType() {
        return RobotPullGroupAdoptResponse.class;
    }
}
